Skip to content

ObserverBase.Dispose() method

Defined in

Type: ObserverBase Namespace: System.Reactive Assembly: System.Reactive.dll

Applies to

netstandard2.0

Overloads

  • 1. public void Dispose()
  • 2. protected virtual void Dispose(bool disposing)

1. Overload

public void Dispose()

Summary: Disposes the observer, causing it to transition to the stopped state.

2. Overload

protected virtual void Dispose(bool disposing)

Summary: Core implementation of IDisposable.

Parameters

NameTypeDescription
disposingbooltrue if the Dispose call was triggered by the Dispose method; false if it was triggered by the finalizer.